Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing hardcoded urls for custom build from CI #20

Merged
merged 5 commits into from
Feb 2, 2017
Merged

Removing hardcoded urls for custom build from CI #20

merged 5 commits into from
Feb 2, 2017

Conversation

zak-hassan
Copy link
Member

Using customer build args we can do custom builds

docker build -t openshift-spark --build-arg DISTRO_LOC=https://dist.apache.org/repos/dist/release/spark/spark-2.1.0/spark-2.1.0-bin-hadoop2.7.tgz --build-arg DISTRO_NAME=spark-2.1.0-bin-hadoop2.7

@mattf
Copy link
Member

mattf commented Feb 1, 2017

make sure this continues to build in travis and the autogenerated docker hub build (https://hub.docker.com/r/radanalyticsio/openshift-spark/)

@zak-hassan
Copy link
Member Author

I added a change to .travis.yml to fix that

@mattf
Copy link
Member

mattf commented Feb 1, 2017

what about the docker hub autobuilds? maybe you can default the --build-args?

@zak-hassan
Copy link
Member Author

Good point! I'll add a default which is going to be the original url we put in there originally.

@mattf
Copy link
Member

mattf commented Feb 2, 2017

ok, be sure to revert the .travis.yml so travis builds essentially the same way docker hub will

@zak-hassan
Copy link
Member Author

zak-hassan commented Feb 2, 2017 via email

.travis.yml Outdated
@@ -6,4 +6,4 @@ services:
- docker

script:
- make build
- make build
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be no change here

@zak-hassan
Copy link
Member Author

@mattf I've reverted travis.yml .

Copy link
Contributor

@elmiko elmiko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mattf mattf merged commit 809ebfc into radanalyticsio:master Feb 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants